#ifndef GT_THEME_H
#define GT_THEME_H

#include <cstdlib>
#include <cstring>
#include <libconfig.h> // libconfig
#include <ncurses.h>   // ncurses

#include "config.h"

struct theme_t {
  int line_color;
  int file_color;
  int line_number_color;
  int highlight_color;
  int opened_line_color;
};

enum color_t {
  NO_COLOR,
  COLOR_LINE,
  COLOR_LINE_NUMBER,
  COLOR_OPENED_LINE,
  COLOR_HIGHLIGHT,
  COLOR_FILE
};

theme_t *read_theme(configuration_t *config);
void apply_theme(theme_t *theme);
void destroy_theme(theme_t *theme);

#endif // header file protect
       // ok